import numpy as np
import matplotlib.pyplot as plt

x = np.linspace(-10,10,40)
y = 1 / (1 + np.exp(-x)) * (1 - 1 / (1 + np.exp(-x)))

plt.plot(x,y,'r-')
plt.show()